//
//  GUIAlertView.h
//  DreamOf
//
//  Created by 薛小刚 on 2018/3/29.
//  Copyright © 2018年 薛小刚. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface GUIAlertView : UIView

/**
 展示toast 1秒

 @param title 展示的内容
 */
+ (void)showTitle:(NSString *)title;


/**
 系统弹窗

 @param title 标题
 @param description 描述
 @param leftButton 左侧按钮
 @param rightButton 右侧按钮
 @param context 上下文
 @param block block回调
 */
+ (void)showAlertTitle:(NSString *)title description:(NSString *)description leftButtonTitle:(NSString *)leftButton rightButtonTitle:(NSString *)rightButton context:(UIViewController *) context withBlock:(void(^)(BOOL isLeftButton)) block;

/**
 系统弹窗,只有一个按钮

 @param title 标题
 @param description 描述
 @param buttonTitle 按钮
 @param context 上下文
 @param block block回调
 */
+ (void)showAlertTitle:(NSString *)title description:(NSString *)description buttonTitle:(NSString *)buttonTitle context:(UIViewController *) context withBlock:(void(^)(void)) block;

/**
 加载动画

 @param title 文字
 */
+ (void)loadingWithTitle:(NSString *)title;


+ (void)hidden;
@end
